home *** CD-ROM | disk | FTP | other *** search
/ Robotics & Artificial Int…3 (Professional Edition) / Robotics & Artificial Intelligence Tools 2003 (Professional Edition).iso / neural network tool and application / nsinstall.exe / data1.cab / Demos_Files / Kohonen_Feature_Maps / SquareKohonen.nsm < prev    next >
Encoding:
Text File  |  2002-03-08  |  855 b   |  25 lines

  1. subtitleTextBox. setText ("")
  2. mainTextBox. setText ("")
  3.  
  4. activeBreadboard. replaceWith ( "unsupervisedSynapse" , "SquareKohonenFull" )
  5.  
  6. outputAxon. setRows ( 5 )
  7. outputAxon. setCols ( 5 )
  8. unsupervisedSynapse. setNeighborhood ( 5 )
  9.  
  10. activeBreadboard. lockWindowUpdate()
  11. editTitle. setText ("# of PE's/square side")
  12. editEngine. setText ("5")
  13. editEngine2. setText ("5")
  14. activeBreadboard. unlockWindowUpdate()
  15.  
  16. EditMacroPath = macro. pathFromMacro ( "Edit number of square PE's.nsm" )
  17. editEngine. setMacroPath ( EditMacroPath )
  18.  
  19. activeBreadboard. select ( NULL , FALSE )
  20.  
  21. NextMacroPath = macro. pathFromMacro ( "A more difficult 2-D problem.nsm" )
  22. nextButton. setMacroPath ( NextMacroPath )
  23. SubtitleIndex = subtitleTextBox. setTextFromFile (TextBoxPath, SubtitleIndex)
  24. MainIndex = mainTextBox. setTextFromFile (TextBoxPath, MainIndex)
  25.